package com.vueperson.vueperson.t1.CreationalPattern.SimpleFactoryPattern.t01;

public class Client {
    public static void main(String[] args) {
        Product product;
        product=Factory.getProduct("b");//通过工厂类创建产品对象
        product.methodSame();
        product.methodDiff();
    }
}
